<script>
export default {
  beforeCreate() {
    const { query } = this.$route
    const { fullPath } = query
    this.$router.replace({ path: fullPath })
  },
  render: function (h) {
    return h() // avoid warning message
  },
}
</script>
